package com.framework
{
	import com.framework.SystemPage.PausePage;
	
	import flash.events.Event;
	import flash.events.MouseEvent;
	
	public class LosePage extends PausePage
	{
		public function LosePage()
		{
			super();
		}
		
		override public function init(e:Event):void
		{
			bgWindow = new resPageLose;
		//	btnBack = new resBtnContinue;
			btnReplay =  new resBtnReplay;
			btnStageMode =  new resBtnList;
			
			this.addChild(bgWindow);
		//	this.addChild(btnBack);
			this.addChild(btnReplay);
			this.addChild(btnStageMode);
			
		//	setButton(btnBack,270,154);
			setButton(btnReplay,240,200);
			setButton(btnStageMode,240 + btnMargin,200);
			
			
		//	btnBack.addEventListener(MouseEvent.CLICK,BackBtnListener);
			btnStageMode.addEventListener(MouseEvent.CLICK,ListBtnListener);
			btnReplay.addEventListener(MouseEvent.CLICK,ReplayBtnListener);
		}
	}
}